﻿package mortal.game.view.forging.view
{
    import com.mui.controls.*;
    import mortal.game.resource.*;
    import mortal.game.view.common.*;

    public class EquipQualAdvanceStarSpr extends GSprite
    {
        private var _starShadow:GBitmap;
        private var _starLight:GBitmap;

        public function EquipQualAdvanceStarSpr()
        {
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            this._starShadow = UIFactory.gBitmap(ImagesConst.EquipStarShadow, 0, 0, this);
            this._starLight = UIFactory.gBitmap(ImagesConst.Star_Lv_Big, 1, 1, this);
            return;
        }// end function

        public function set isLight(param1:Boolean) : void
        {
            this._starLight.visible = param1;
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            super.disposeImpl();
            this._starShadow.dispose();
            this._starShadow = null;
            this._starLight.dispose();
            this._starLight = null;
            return;
        }// end function

    }
}
